package com.alibaba.cloudalibabaserver;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

@SpringBootApplication
@EnableJpaRepositories(basePackages = "com.alibaba.cloudalibabaserver.repository")
@EntityScan(basePackages = {"com.alibaba.cloudalibabaserver.bean"}) // 您的Order类所在包
public class CloudAlibabaServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(CloudAlibabaServerApplication.class, args);
    }

}
